Changed integers to doubles