removed key from reduce fn