Improved vector and finished the implementation of data.