added to check if a master exists for table