Modified collision routine