Added Duration Option instead of static duration.