added deadline to model