Implemented basic triggers