filters, solution and rewired logic