make addFolderDefintion easier to read