Added dropdown functionality