1st part of flowchart