prepare sonar