adding increased filter functionality