directory thing working