had the transcode at the wrong indentation causing things to go crazy.