first adaptive coding