And this should probably just be combined into a single conditional since there's no else block.