working on planners functions