added FPS lock and adjusted values