actually actually add flags handler