some functions to have more fun testing from repl