my ( @records, @orders, %seen );