Now method populatesents can store lead. Also make the sentence segmentation part within it a seperate method, to make the method looks more concise.