Added DecodingThread