prototype of decoder added.