added javadoc to roll()