four input muxes done