initial dropdown code