Wouldn't it be better to use *else if* here?