completed sensor diagnostic prototype