add group names. use group name instead of number in option list