Started implementing mining