Fixed bug
mux code is now in its own repo