added comments to make problem more apparent