flags are collected in one place