changed definition of lipschitz continuity