Refactored by replacing String array with TemporalMention for samples