Adding FPS measurement