properly compose the key entry