got rid of raycasting. add planning back in planner