reading a pattern envelope