метод delete, refactor time and deadline