separate all remaining telemetry code