add stat analysis