I didn't want to give away the answer in the spec  and there are lots of approaches :)