Tried out several planners and added helper function