Change get to return a stream rather than take stream as parameter