Added some more description to the code