refining flow chart for gold