cleaning and documenting code