removed dropdown function from the dropdown plugin and included it in the trial method instead