sonar working model