note
refactor: got rid of module-level methods, moved them to class and
instance methods