added ability to create directory