tidy and doc