implementing accumalator interface