added hopfield network