added mux and started working on it