add deadline in model.py