haskell-esque pattern matching
commit matching fns
remove autosave