added variation of original method
updated gitignore, got rid of swp files