Translated rov.py