adding cdi to the mix