Ap for streams