refactored Cocktail to support Advanced Collision Handling (original tests pass, but no new tests added).