added ability too get flags