organize the directory