Made some code documentation