add some waiting flags