made things more python-y