Adding xStream learning