added example and other updates