added simple RF switch programm