implement checks for table values