function [val, isterm, dir] = test_event3(~, x)    
    val = [x-4,x-3]; 
    dir = [-1,-1]; 
    isterm = [0,0]; 
end