added paragraph finding functions