added buoy detection.