updated executeQueries