added trigger on last