using vector for storage