fixed code documentation