#3: fix mining script fucking Pascal