added example usage and license