created a new file for every function in planner