formating and doc