cleaned up dice implementation
reworking dice