added a screenshot for program logical flow