implemented check for roll logic