add sum to WPS result processing