implemented smart trigger