Adding trigger