Adding ANN related stuff