Use vector and pair for storing of data