array check for table