Where is the thermostat located Toyota Corolla 2003?

The thermostat is located on the cooling system on a 2003 Toyota Corolla. The thermostat can also be found by following the upper radiator hose.