serialized queue and added state field