added stream transform and doubler class