added new parameter for sonar