added functionality to dice