adding bptt feature
adding BPTT feature