filter as Maybe, group as Option