working on planner tasks functions