merged InputUtil into util