dogs can have been pets for a very long time