创建函数create or repale function