variables changed for toggle