added ball tree