added max time