add array type handling to esf