removing filterConfig funciton