modify function1