add the swith