mining mode is now working