make some changes to array/function types determine.