only support array as constructor parameter