envelope: fixed&working