How does the sentence end?

Logan thought the aquarium needed a new fish but Robert though it needed something different so
Logan bought a goldfish for it.