creating IO interface
creating base for filter
creating base for filter
creating filter
reducing max value for performance's sake