simplify the interface of covm and cov