Detect constructor

Detect()