adding directory type