stronger typization, helper method for dice roller