working dotdotdot query function
updates