Before revision:  In the general setting where outcomes depend on latent covariates, we show that historical data can be utilized in the optimal design .
After revision:  In the general setting where outcomes depend on latent covariates, we show that historical data can be utilized in designing experiments .