detection code
detection code