Copied some code from CSReader to USReader, Added some comments