try/except kinda unnecessary
some clean up
use print instead of pprint