committing a version that works up through the test case and has documentation