macro for the refresh rate