added isset function in planners