complex flow chart of gold