make the tests pass and exemplify what I want to api-ify