New covariate scan function added

added