Added { and } to fuction
Merge pull request #229 from scootergrisen/patch-9

Added { and } to function