queue: use records for data