added extra flags