Carl is a construction supervisor. He has to make sure that the inside rooms of the house are painted by this evening because the carpeting company is scheduled to bring in the carpeting first thing tomorrow morning. He told Tim to paint the hall and told Anne to paint the master bedroom. Because he is short-handed, he will paint the kitchen. Carl is performing the management function of:

A. staffing
B. directing
C. planning
D. organizing