some refactoring, added AMountInputFilter implementation