What are the roles and functions of managers