add director feature and pass tests
temp files