simple deadline handling