need implement delete directory method