Added duration to create session