Some handling for triggers