add trigger to reset