add stat interface