Implementation of trigger saving