add trigger to capture objects attached to the trigger