extracting gold method