added example and fixed syntax in readme