sets up inquiry model