changes the data model and also added dropdown