notes for covariate creation