added new feature: extend simulation duration