fix output to display in middle of page,use p tag, improve naming