partial solution to multi-paragraph select