autopopulate discrete options