Use else instead of early return