multiple sample encoding under development