adding stuff for sonar