SMSDetector class working