Finish work and document code