removing lotsa ugly python junk