Added some code documentation