added legacy toggle