constant functions and continuity