redesigned code documentation