almost modularized the doQuery method across all TableModel objects
parametrized insets working