smartTrigger updated to correctly access trigger information