updated the syntax to use similar key and hash symbols