Fixed syntax issue from last pull request
Updated with fixed pull request #7