add method query