combine collide functions