Added duration to model