filtered out unnecessary items from the view.