functions defined, all tests green