Added triggers code base