ANN theory