simplify.py was built in another repo, but looks good enough to use now