add stream. and vars