edited encoding