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