After being told by Fred that they spent too much time playing with Pebbles and to “get your own baby”, Betty and Barney wished upon a star for one. Soon after, they found an abandoned infant on their doorstep, with the name of “Bam-Bam”, according to the note left in the basket. After a court battle in which they defeated noted lawyer, “Perry Masonry”, who was representing a wealthy man who wanted to adopt Bam-Bam, the couple were allowed to adopt Bam-Bam legally and permanently.