Added comments to justify Error printing