Added the rest of the states into the trigger.