More comments...

Added more comments to the code