add  func6 function by A