continuity and differentiability