wait example