setting the duration correct, csv output supported