working on Array constructor