added simple streaming rate example