add revert from commit and test previous implmentation