added off state for triggering