formatting code in DefaultStreamingBus