Just call toArray once