notes and additional check for parent dir