Recursive NN methods added