changed refresh rate and equation