ignore emacs backups
added some comments
indent fix