the two filter calls can be merged