created nernst example