returning chosen edges