flag improvement