add cut_function initial example