encoderSample.o is demo for pr4