change to Encog