transformation stage gates