lines work from input to simulator