Added some code commenting