trigger rafactor