testing new detecting method