added hacked covariance