init. implementation of ANN