doe_add2.py translated for testing