renamed decoder to irdecoder