add missing module
ignore *.swp
reindent
refactor indices, all tests passed