implementing dicesim (not functioning but check back in a few hours, should give the general idea though)