change input method parameters. added validator factor