function GOOD_fret=GOOD_selektor(mixedFRET, badfret)
k=1;
f=1;
l=1;
while f<length(mixedFRET)+1
    if badfret(k)~=f
     GOOD_fret(1:2,l)=mixedFRET(1:2,f);
        f=f+1  ; 
        l=l+1;
    else
        if k<length(badfret)
        k=k+1;
        f=f+1;
        else
           bisEnde=length(mixedFRET)-badfret(k)
           GOOD_fret(1:2,k+1:k+bisEnde)=mixedFRET(1:2,badfret(k)+1:end);
           f=length(mixedFRET)+1;
        end
    end

end