optimization
extracted InputStreamHolder interface