#110 renamed function to get the refresh rate