vector and queue added