before: change method of rev loop
commit: the final paper I think