this is why I need unittests for this...