write examples for flag package