removed the explicit representation of phi because it gets too big.