addfactor out thing
  addstate thing up
  addstate thing down
addfactor out widget
  addstate widget off
  addstate widget on
