actually add flags handler