add time delay with setting