takes in any flag other than R