switching something on changes its state