add new array define and add the return type of fun