(*)adjust wait order