add reduce by key