add support for single line inputs