write deadline