entity role functions added