make function continuous everywhere