version 4 + encoder