Add some comments to PWI code