Added dynamic paragraph placement