added multilayer perceptron structure