role of director