ridCheck implemented