Replaced old Hash syntax with new one