back to working version, not sure what is wrong with trigger types