queue almost working