stream types MACRO