sphere intersection works