try query states data