flags belong to main package