Did a bit of the mining code for the laser