changed to doubles