add ising model