after testing query