tmp
work in progress msbc encoding