encoding 2 - version 1