function [out ] =removeEpoches(EEG, sbjName)
if(strcmpi(sbjName,'sbj02_L_A'))
    out = pop_rejepoch( EEG, [8:10 13 14]  ,0);
elseif(strcmpi(sbjName,'sbj02_L_B'))
    ;%clean
elseif(strcmpi(sbjName,'sbj02_R_A'))
    out = pop_rejepoch( EEG, [5 6 67 68:75] ,0);
elseif(strcmpi(sbjName,'sbj02_R_B'))
    out = pop_rejepoch( EEG, [13 39 40:51 61],0);
elseif(strcmpi(sbjName,'sbj03_L_A'))
    out = pop_rejepoch( EEG,[4 19 21 22:26 28 29 58 60 74 79 81 87] ,0);
elseif(strcmpi(sbjName,'sbj03_L_B'))
    out = pop_rejepoch( EEG, [33 34 43 44 48 49:51 59 62 69 70 73 80 81:83] ,0);
elseif(strcmpi(sbjName,'sbj03_R_A'))
    out = pop_rejepoch( EEG,[2 77 78 79 84 85:89] ,0);
elseif(strcmpi(sbjName,'sbj03_R_B'))
    out = pop_rejepoch( EEG,[11 50 58 67 68 69 82 85]  ,0);
elseif(strcmpi(sbjName,'sbj05_L_A'))
    out = pop_rejepoch( EEG, [1 4 5 12 20 32 33:41 43 48 50 60 76 77 79 81 82:84] ,0);
    out = pop_rejepoch( EEG, [60 61 63 64] ,0);
elseif(strcmpi(sbjName,'sbj05_L_B'))
    out = pop_rejepoch( EEG, [4 8 21 26 30 32 36 37:48 51 52 53 55 59 60:62 78 80:2:82] ,0);
elseif(strcmpi(sbjName,'sbj05_R_A'))
    out = pop_rejepoch( EEG, [7 44 58 60 62 63:66 78 81 85 86:88 90] ,0);
elseif(strcmpi(sbjName,'sbj05_R_B'))
    out = pop_rejepoch( EEG, [28 29 55 56 58 59 60 64 65 66 68 69 87] ,0);
elseif(strcmpi(sbjName,'sbj07_L_A'))
    out = pop_rejepoch( EEG, [5 10 19 20:30 38 70 82 89] ,0);
elseif(strcmpi(sbjName,'sbj07_L_B'))
    out = pop_rejepoch( EEG, [4 7 13 16 19 27 30 59 80 81:90] ,0);
elseif(strcmpi(sbjName,'sbj07_R_A'))
    out = pop_rejepoch( EEG, [1:14 36 40 41 44 45 49 51 57 58 63 77]  ,0);
elseif(strcmpi(sbjName,'sbj07_R_B'))
    out = pop_rejepoch( EEG,[6 7 26 27 47 61 62:75 77 78:82 84 85:89]  ,0);
elseif(strcmpi(sbjName,'sbj12_L_A'))
    out = pop_rejepoch( EEG, [6:8 65 66:71] ,0);
elseif(strcmpi(sbjName,'sbj12_L_B'))
    out = pop_rejepoch( EEG, [3 4 65 66:90] ,0);
elseif(strcmpi(sbjName,'sbj12_R_A'))
    out = pop_rejepoch( EEG, [8 13 17 21 22 24 25] ,0);
elseif(strcmpi(sbjName,'sbj12_R_B'))
    out = pop_rejepoch( EEG, [61:76] ,0);
elseif(strcmpi(sbjName,'sbj13_L_A'))
    out = pop_rejepoch( EEG, [12:19 61 62:77] ,0);
elseif(strcmpi(sbjName,'sbj13_L_B'))
    out = pop_rejepoch( EEG, [31:39 54 64 83 87 88:90] ,0);
elseif(strcmpi(sbjName,'sbj13_R_A'))
    out =  pop_rejepoch( EEG, [11 19 26 58 71 75 78 84 85 87] ,0);
elseif(strcmpi(sbjName,'sbj13_R_B'))
    out = pop_rejepoch( EEG, [19 25 41 43 46 48 56 66 79 84] ,0);
elseif(strcmpi(sbjName,'sbj14_L_A'))
    out = pop_rejepoch( EEG, [2 23 24 42 53 59 81] ,0);
elseif(strcmpi(sbjName,'sbj14_L_B'))
    out =pop_rejepoch( EEG, [27 28 40 61 62:90] ,0);
elseif(strcmpi(sbjName,'sbj14_R_A'))
    out = pop_rejepoch( EEG, [10 17 38 43 69 70:75 77 78:90] ,0);
elseif(strcmpi(sbjName,'sbj14_R_B'))
    out =pop_rejepoch( EEG, [6:8 10 11:13 36 37:42]  ,0);
elseif(strcmpi(sbjName,'sbj15_L_A'))
    out = pop_rejepoch( EEG, [3 13 14 16 17 57 71] ,0);
elseif(strcmpi(sbjName,'sbj15_L_B'))
    out =pop_rejepoch( EEG, [15:17 25 36 43 65],0);
elseif(strcmpi(sbjName,'sbj15_R_A'))
    out = pop_rejepoch( EEG, [13 30 37 47 65 70 75 85 86 89] ,0);
elseif(strcmpi(sbjName,'sbj15_R_B'))
    out =pop_rejepoch( EEG, [6:2:10 13 16 26 33 35 38 39 42 62] ,0);
elseif(strcmpi(sbjName,'sbj16_L_A'))
    out = pop_rejepoch( EEG, [35 51 52 58 90]  ,0);
elseif(strcmpi(sbjName,'sbj16_L_B'))
    out =pop_rejepoch( EEG,[12 15 23 42 45 48 49 66 75] ,0);
elseif(strcmpi(sbjName,'sbj16_R_A'))
    out = pop_rejepoch( EEG,[18:20 22 24 25 27 28:30 55 56:58] ,0);
elseif(strcmpi(sbjName,'sbj16_R_B'))
    out =pop_rejepoch( EEG,[22:25 64 65 66 74 77 79 84] ,0);
elseif(strcmpi(sbjName,'sbj19_L_A'))
    out = pop_rejepoch( EEG, [5 29 49 61 64 66 67 73 76 86 90] ,0);
elseif(strcmpi(sbjName,'sbj19_L_B'))
    out =pop_rejepoch( EEG, [1 12 15 31 33 34:36 38 51 58 62 66 67 69 70 75 77 82:5:87] ,0);
elseif(strcmpi(sbjName,'sbj19_R_A'))
    out = pop_rejepoch( EEG, [4 5 7 8 10 25 31 42 49 54 55 56 64 65 67 70 73 75 79 81 85 87] ,0);
elseif(strcmpi(sbjName,'sbj19_R_B'))
    out =pop_rejepoch( EEG, [1 2 8 12 25 35 44 48 50 56 62 63 64 66 67 72 80 85 87 90]  ,0);
elseif(strcmpi(sbjName,'sbj22_L_A'))
    out = pop_rejepoch( EEG, [8:2:12 13 24 25 38 43 47 64 67 73 74 76 77 83] ,0);
elseif(strcmpi(sbjName,'sbj22_L_B'))
    out =pop_rejepoch( EEG, [1 5 7 10 33 37 39 51 55 59 62 71 73:2:75] ,0);
elseif(strcmpi(sbjName,'sbj22_R_A'))
    out = pop_rejepoch( EEG,[9:5:19 31 36 59 61 85] ,0);
elseif(strcmpi(sbjName,'sbj22_R_B'))
    out =pop_rejepoch( EEG,[1 11 45 61 72 79]  ,0);
else
    out = EEG;
end
end