added directory creation