added type field to tx queue: