added role check