Sandy, a top-level manager, identifies jobs to be performed, assigns responsibility for them, establishes departments to handle the jobs, and determines how many and which employees the mid-level managers will supervise. Which function of management is Sandy performing?