filter functionality added