fixed flow chart!