wrong return type in item(index) method