moving stats to own package