Also, please just return the conditional expression here rather than making another assignment to `ret`.