added accurately measuring FPS