add time tolerance