multiplexer method added