basic addFlag