add some flag for testing code