add time with bug