Why not just "return lossPercent[blessings]"?