prepare for sonar