Added better form of triggers.