fill the sonar interface(untested)