adding in demuxxing. found out muxxing is broken. looking at fix