basic error handling
modularizing dice functionality