change transform lookup to main loop. Negate Z