Switch from integers to doubles