Made a dice work