how gold mining equipment works