directly set director as dep