second modification for xtream