add flag concept to hero