added in dropdown functionality