added .gitignore
removed swap file
serializing works