changed register->when, trigger->go
changed register->when, trigger->go