adding backprop