Added code for the goldfish paradox