Converted Ints to Doubles for more precision