use the refactored statistrano