Juan, who manages the marketing unit of a company, is responsible for deciding what roles each of his subordinates will play within the unit. He decides who will take charge of each team and who will be in charge of interacting with customers. In this scenario, which of the following management functions is Juan performing?