added decoders and NPROGs