improve GPars example