added nn_pure