add mstream interfaces