write stat help when init