queue added to manage edges