fixed hopfield example