implementation of new method setEncodedData() in Runner