added comments to assignment