Added some planning logic