rm callback, preparing streaming API