wrap the orient mesh in a def