Adding proper implementation of dropdown.