Added roll function