find leaving var
add test