refined MR, added streaming