return item functionality