Added stats transform
Finished stats transform