Updated multiplexer work
Deleted not used function