Revert "stat code"

This reverts commit f9b842fee80ab9510b48dbb7833575ffff5e916c.