change value from int to double