Added queue processing