added RLE decoder