updated collision mechanism