sonars modification and telnetclient