Arg.  Would really help if I got my logic the right way around.