use read command with more interactive-friendliness