refactor mining sim example