The working is working with a switch