envelope prototype and demo