updated example query