add Director funtion