change return items function