Added duration flag