adding getInputStream