recognize more input type