some corrections to format