better isreachable test