directories almost fully functional