role and data check