remove use of trigger in examples since it is not tested