use optional rate logging