add executeQuery method