experiment with class methods failed for now, waiting for main file implementation. all tests still pass