change isReady to be member of Queue object