removed backtostock function from branch
removed backtostock function