refactor design to use a more multiplexor based design