now also works without specifying publishing interval like described in the wiki. Also renamed rate_ to time_ since it is no rate