Dealing with deadline
Dealing with deadline and config