checking for triggers