rename wrap method into asArray