update comments and change default settings to use time.Duration