removed more getInputStream() stuff