added daniels updated triggers