work in progress directory constructor