made back prop a bit more configurable