getting trigger state