working on that directory stuff