It could all be done in an `else if` in fact...