further additions for transcoding