setting appropriate role