adding parametrized trigger