introduce line-based input