Start adding some mining logic.