Method 2 for detecting waves