remove code for reading from stdin