made several corrections to formatting