add envelope demo