void (Payload payload) { payload.add(myRowOffset); payload.add(myColOffset); payload.add(myRows); payload.add(myColumns); payload.add(myFormat); if (myVariableName.contains(GetVariableCommand.BY_ID)) { //id instead of frame_id payload.add(getThreadId()).add(myVariableName); } else { super.buildPayload(payload); payload.add(myVariableName); } }