added trigger package and trigger functions