minor changes python