Where is crank sensor on v6 2004 Kia Optima?

On a 2004 Kia Optima, the crankshaft sensor is located on the front of the transmission case. The sensor is adjacent to the flywheel.