Change 1000.0 to 1000 because 1000.0 is giving me an error