flags methods