add runtime stats