git ignore, note freq, refactoring