Moved ANN Code