eliminated the last query to the information schema