updated code to cross-reference stimuluis id for visual subjects