first commit with working backprop