```
friend = self.findNearest(self.findFriends())
loop:
friendpos = friend.pos
fx = friendpos.x
fy = friendpos.y
if self.now() < 6:
self.move({'x': fx, 'y': 42})
if self.now() < 14 and self.now() > 6:
self.move({'x': fx, 'y': fy + 6})
if self.now() > 14 and self.now() < 17:
self.move({'x': fx, 'y': fy + 6})
```

i can seem to get this right can someone please help me? my hero stops right before the end