flow chart of a gold