oh crap, yeah. we need unittests for this then.