change keys to switches