Changes: continued working on functions associated with roles.