more templates - encoding state now contains a uniform distribution