start of toggle