support input from STDIN