Implemented the Sonar module