The logic portion of the fitness app for CPS630