example for 3D transformations and cleanups