basic functions(learning switch, mirror, monitor)