Adding flow chart