add roll class and function