Made syntactic changes as suggested in the pull request