finish dropdown functions