very early stage code for integer_filter. #226