two approaches to filters