eliminated extra line breaks at the end and enclosed in <p>