table: properly check for set?