implemented basic roll functionality