read from standard input