methods work in repl, tests need updating