purpose of the rocket
rocket function