determine input type