Adding comments here and there to gain better understanding of the code