added inputfilter