match indentation in hoep.py to upstream