add time to setTimeout