decode early, encode late