IsInQueue not defined