error: `var item` rather than `return item`