input filter implementation and crude save