added an example where ec fails