Started adding planning functionality