added function to display code directories.