updated envelope, hopefully fixed