execQuery method to make life easier