switched to parent_folder function