Using filters instead of annotations