more work on trigger