how to make a custom planner