select type wait