Where is the thermostat located on a 1998 Chevy Z24?

it is right underneath the water pump were it conectes to the bock, there should be a flat pipe that goes under youroil pan that leads to it