add random effects scaling