generate select options for general