formatting and doc