Added dropdown data functionality