Sketched out some more of the implementation.