added header vars to rtr.handleData