encoding queue