add rAF for comparison