added titles, fixed formatting