finished the basic functions for planners in master control