removing repeating code
fixing an error where Golden Retriever was being displayed twice