snippet will take only given number of paragraphs