simplified markup, added paragraph justify setting