remove duplicate code
ignore notes directory