changed rotp to version 2