refining code docs