drop down list match logic added