started backprop implementation