added example and license