Using inline ret for readability