adding title alignment method