Put bounce intructions into a function call for task 2