Adding separate analysis fn for analysis record
With analysis record