Added comments to help ease understanding of code choices