best and worst times implemented