roll() function problem solved,
it can operate with 2 parameters now.