adding Covariance class