solve filtered ls