add the basic functions for planners