add inputstream param