is this punctuation correct: I have a dog, but I prefer cats.
Where should there be a comma?
Imported from external platform