changed values to integers