next - removed debugging code for filter