porting linked list in selector hash to vector