added multilayer neural network