How to customize a planner