added reducer function for summing walltime