add date and length