Removed renamed fps var to avoid confusion.