renamed logcheck to checktable