change func name
better messages
print each directory only once