Added element object
Renamed vector to array