added variable refresh rate