rename arrayfunc to fucn