changed queue a bit