GenerateDuration

everything should now work properly