An age variable is an interesting idea! I came up with a different solution, basically when a fruit collides with another of the same it disables the contact monitoring of the other fruit. It works fine, but it's a bit clunky. your solution is much cleaner.