output key names and reduce computations