filled in create dice function