working on directory interface