how is gold mining machinery done