added ipad query