added new toggle mode