The type of var should be array