call the key on the map instead of global method directly