added more comments to assignment