State machine for return_items