this should probably just be an `else if`