remove dulication and add spec for Array