add default array,function with two arguments