query ref and move analytics?