added back prop into NN