Where is the thermostat located on a 1990 Mazda miata?

Follow the top radiator hose as it connects to the front of the engine. The thermostat is located in that housing.