adds filtering to application