Changed collision response code