changes python mapping