added list box functionality