updated repetative regions to be the python version