i'm having some trouble with this task, if anyone can help me with a hint (if that's not considered cheating) it would be much appreciated.
Edit: I've solved this task.