integration of planning logic into app