fixed formatting and figures