changed data model and added a display of the filtered data