you could handle this entire thing with a single if() and no else.