added sonar to make sure it can't crash