changed floats to integers