added multilayer perceptron option