Added FPS and UPS calculation