adding bag the accelerate distance quesries