Please start your own thread and repost the code. In the meantime, you will need to review the code and work to understand what each line does. The two versions of the program are VERY different. I suggest you start with the non-mux program and modify it to make a new mux version. When the new version doesn't work, fall back to a version that does and work forward from there.