changed timing to doubles