As @gzm0 commented, you should avoid using `return` as much as possible. This `return` is the only legitimate one in the whole PR. All others should be removed in favor of `else if`.