hopfield: added skeleton