Added basic planning.