add sgreader to source code