Added solution to q3-filter