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