solutions for maps and filters