added toggle patterns