flow diagram of gold process