moved int variables into structs PositionRecordPacket and DataFrame