added listener to drop down