Can use `else if` for this chain of ifs